class CreateCourses < ActiveRecord::Migration
  def self.up
    create_table :courses do |t|
      t.column  :title,         :string
      t.column  :hours,         :integer
      t.column  :description,    :text
      t.column  :number,        :string
      t.column  :department_id, :integer
    end
  end

  def self.down
    drop_table :courses
  end
end
